package itbour.onetouchshow.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Yang on 2018/3/1.
 */

public class SpecialTopicBean implements Serializable {

    /**
     * "id" : 1,                   // 专题 id
     * "setIds" : [1],             // 模板组 id 数组, 请求专题内容列表时使用
     * "name" : "教育专区",
     * "column" : 2.2,             // 展示时专题内列数, 浮点型
     * "w" : 1920,                 // 专题内视频宽
     * "h" : 1080,                 // 专题内视频高
     * "direction" : 0,            // 0 标记纵向排布, 1 标记横向排布
     * "showMore" : 1,             // 0 标记隐藏 更多 按钮, 1 标记显示更多按钮
     */

    private long id;
    private String name;
    private double column;
    private int w;
    private int h;
    private int direction;
    private int showMore;
    private ArrayList<Integer> setIds;
    private int showCondition;
    private List<DesignListBean.ListBean> list;

    public int getShowCondition() {
        return showCondition;
    }

    public void setShowCondition(int showCondition) {
        this.showCondition = showCondition;
    }

    public List<DesignListBean.ListBean> getList() {
        return list;
    }

    public void setList(List<DesignListBean.ListBean> list) {
        this.list = list;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getColumn() {
        return column;
    }

    public void setColumn(double column) {
        this.column = column;
    }

    public int getW() {
        return w;
    }

    public void setW(int w) {
        this.w = w;
    }

    public int getH() {
        return h;
    }

    public void setH(int h) {
        this.h = h;
    }

    public int getDirection() {
        return direction;
    }

    public void setDirection(int direction) {
        this.direction = direction;
    }

    public boolean getShowMore() {
        return showMore == 1;
    }

    public void setShowMore(int showMore) {
        this.showMore = showMore;
    }

    public ArrayList<Integer> getSetIds() {
        return setIds;
    }

    public void setSetIds(ArrayList<Integer> setIds) {
        this.setIds = setIds;
    }
}
